<template>
  <div class="left">
    <MainMenu></MainMenu>
  </div>
</template>

<script>
import MainMenu from "./MainMenu";
export default {
  name: "Menu",
  components: {
    MainMenu,
  },
};
</script>

<style lang="scss" scoped>
.left {
  height: 100%;
  width: 20rem;
  padding: 1rem;
  overflow: auto;
  background: #fff;
}
.left::-webkit-scrollbar {
  width: 5px;
  height: 1px;
}

.left::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #E0E0E0;
}

.left::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  border-radius: 5px;
}
</style>